package thread.muti_thread_pro_cus;

/**
 * Created by mHandler on 2018/6/2 0002.
 * Description:
 */
public class Test {
    public static void main(String[] args) {
        MyStack myStack = new MyStack();
        for (int i = 0 ; i < 5 ; ++i){
            new ThreadP(new Producer(myStack)).start();
            new ThreadC(new Customer(myStack)).start();
        }
    }
}
